package com.imooc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * 功能描述: <br>
 * (webSocket配置类)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:28
 * @since: 1.8.0
 * @version: 1.0.0
 */
@Component
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}

